package com.easybuilder.core.seo.service.impl;


import com.easybuilder.common.utils.PhantomUtil;
import com.easybuilder.core.seo.service.SeoRenderService;
import org.springframework.stereotype.Service;

@Service
public class SeoRenderServiceImpl implements SeoRenderService {

    @Override
    public String articleDetailRender(Long id) {
        String html = PhantomUtil.render("http://localhost:8081/articleDetail.html?id=" + id);
        return html;
    }
}
